using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class CmsProductInfosEntity:AF_ORM.CORE.BaseEntity
    {
         public CmsProductInfosEntity()
         {
             tableName = "CmsProductInfos";


			 fieldInfos.Add(new FieldInfo("CmsProductInfos","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsProductInfos","Lang","Lang","string",5,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsProductInfos","Packages","Packages","string",512,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsProductInfos","ProductId","ProductId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsProductInfos","ProductName","ProductName","string",512,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsProductInfos","Specification","Specification","string",512,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsProductInfos","Title","Title","string",512,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected Guid m_Id;
		 protected string m_Lang;
		 protected string m_Packages;
		 protected Guid m_ProductId;
		 protected string m_ProductName;
		 protected string m_Specification;
		 protected string m_Title;

		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string Lang

          { 
                get { 
                    return m_Lang;}

                set{m_Lang=value;

                    GetField("Lang").Set();
                    GetField("Lang").IsNull=(value == null);           
                    }
          }
		 public string Packages

          { 
                get { 
                    return m_Packages;}

                set{m_Packages=value;

                    GetField("Packages").Set();
                    GetField("Packages").IsNull=(value == null);           
                    }
          }
		 public Guid ProductId

          { 
                get { 
                    return m_ProductId;}

                set{m_ProductId=value;

                    GetField("ProductId").Set();
                    GetField("ProductId").IsNull=(value == null);           
                    }
          }
		 public string ProductName

          { 
                get { 
                    return m_ProductName;}

                set{m_ProductName=value;

                    GetField("ProductName").Set();
                    GetField("ProductName").IsNull=(value == null);           
                    }
          }
		 public string Specification

          { 
                get { 
                    return m_Specification;}

                set{m_Specification=value;

                    GetField("Specification").Set();
                    GetField("Specification").IsNull=(value == null);           
                    }
          }
		 public string Title

          { 
                get { 
                    return m_Title;}

                set{m_Title=value;

                    GetField("Title").Set();
                    GetField("Title").IsNull=(value == null);           
                    }
          }

}
}
